<template>
  <!-- 业务指标页面 -->
  <div class="container">
    <div class="left-section">
      <div class="section01 section-item">
        <div class="header">
          <div class="header-inner">
            <i class="title01"></i><span>口岸出入境人员</span>
          </div>
        </div>
        <div class="content">
          <div class="section01-info">
            <div class="info-detail">
              <div class="detail-item"><img src="../../assets/images/icon-airplane.png" alt=""></div>
              <div class="detail-item">
                <h2>31,246</h2>
                <span>出入境人员数</span>
              </div>
              <div class="detail-item">
                <div class="ceil">
                  <span>出境：</span>
                  <b>21345</b>
                  <small>
                    <i class="iconfont icon-arrow"></i>
                    <strong>23%</strong>
                  </small>
                </div>
                <div class="ceil">
                  <span>入境：</span>
                  <b>21345</b>
                  <small>
                    <i class="iconfont icon-arrow-down"></i>
                    <strong>23%</strong>
                  </small>
                </div>
              </div>
            </div>
            <div class="info-chart">
              <div class="info-chart-detail">
                <h2>公务签证人数</h2>
                <b>3,602</b>
                <span>
                  <i class="iconfont icon-arrow"></i>
                  <span>23%</span>
                </span>
              </div>
              <div class="info-chart-main" id="s1PieChart"></div>
            </div>
          </div>
          <div class="section01-chart" id="s1MainChart"></div>
        </div>
      </div>
      <div class="section02 section-item">
        <div class="header">
          <div class="header-inner">
            <i class="title02"></i><span>口岸交通工具</span>
          </div>
        </div>
        <div class="content">
          <div class="section02-top">
            <div class="top-left">
              <div class="card-value-chart">
                <div class="card-detail">
                  <h2>车辆进出关总次数</h2>
                  <b>31,651</b>
                  <span><i class="iconfont icon-arrow"></i><small>23%</small></span>
                </div>
                <div class="card-chart">
                  <div class="card-chart-detail">
                    <h2>出关次数</h2>
                    <b>20,602</b>
                    <span><i class="iconfont icon-arrow"></i><small>23%</small></span>
                  </div>
                  <div class="car-chart-main" id="s2PieChart"></div>
                </div>
              </div>
            </div>
            <div class="top-right">
              <div class="s2-right-chart">
                <ul>
                  <li v-for="item in 5" :key="item">
                    <div class="name">{{item++}}月</div>
                    <div class="process"> 
                      <div class="process-inner">
                        <div class="process-line"></div>
                      </div>
                    </div>
                    <div class="value">1000</div>
                  </li>
                </ul>
              </div>
            </div>
          </div>
          <div class="section02-chart">
            <div class="tab-list">
              <div class="neu-tab-list item-start">
                <div class="tab-item active">通行效率</div>
                <div class="tab-item">平均装车时间</div>
                <div class="tab-item">平均卸车时间</div>
              </div>
            </div>
            <div class="chart" id="s2MainChart"></div>
          </div>
        </div>
      </div>
      <div class="section03 section-item">
        <div class="header">
          <div class="header-inner">
            <i class="title03"></i><span>边民互市</span>
          </div>
        </div>
        <div class="content">
          <div class="s3-top">
            <div class="card-list">
              <div class="card-item active">
                <h2><i class="icon01"></i><span>报关票总量（单）</span></h2>
                <b>11,647</b>
                <small><i class="iconfont icon-arrow"></i><strong>23%</strong></small>
              </div>
              <div class="card-item">
                <h2><i class="icon02"></i><span>报关票总量（单）</span></h2>
                <b>11,647</b>
                <small><i class="iconfont icon-arrow"></i><strong>23%</strong></small>
              </div>
              <div class="card-item">
                <h2><i class="icon03"></i><span>报关票总量（单）</span></h2>
                <b>11,647</b>
                <small><i class="iconfont icon-arrow-down"></i><strong>23%</strong></small>
              </div>
            </div>
          </div>
          <div class="s3-chart" id="s3MainChart">

          </div>
        </div>
      </div>
    </div>
    <div class="middle-section">
      <div class="middle-top" id="mapChart"></div>
      <div class="section07 section-item">
        <div class="header">
          <div class="header-inner">
            <i class="title07"></i><span>安全与运营</span>
          </div>
        </div>
        <div class="content">
          <div class="s7-content">
            <div class="s7-left">
              <div class="s7-pie-chart">
                <div class="chart-info">
                  <span>风险出入境人数</span>
                  <b>93</b>
                  <span class="out-data">出境：50</span>
                  <span class="in-data">入境：43</span>
                </div>
                <div class="s7-pie-chart-circle"></div>
                <div class="s7-pie-chart-main01" id="s7PieChart01"></div>
                <div class="s7-pie-chart-main02" id="s7PieChart02"></div>
              </div>
            </div>
            <div class="s7-right">
              <div class="tab-list">
                <div class="neu-tab-list item-start">
                  <div class="tab-item active">通行效率</div>
                  <div class="tab-item">平均装车时间</div>
                  <div class="tab-item">平均卸车时间</div>
                </div>
              </div>
              <div class="s7-chart" id="s7MainChart"></div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="right-section">
      <div class="section04 section-item">
        <div class="header">
          <div class="header-inner">
            <i class="title04"></i><span>口岸进出货物</span>
          </div>
        </div>
        <div class="content">
          <div class="s4-top">
            <div class="top-left">
              <div class="card-value-chart">
                <div class="card-detail">
                  <h2>车辆进出关总次数</h2>
                  <b>31,651</b>
                  <span><i class="iconfont icon-arrow"></i><small>23%</small></span>
                </div>
                <div class="card-chart">
                  <div class="card-chart-detail">
                    <h2>出关次数</h2>
                    <b>20,602</b>
                    <span><i class="iconfont icon-arrow"></i><small>23%</small></span>
                  </div>
                  <div class="car-chart-main" id="s4PieChart"></div>
                </div>
              </div>
            </div>
            <div class="top-right">
              <div class="s4-rank">
                <div class="rank-list out-rank">
                  <h2>出口贸易TOP5</h2>
                  <div class="rank-list-main">
                    <div class="rank-item" v-for="item in 5" :key="item">
                      <div class="name">
                        <span>{{item}}</span>
                        <b>柠檬酸</b>
                      </div>
                      <div class="value">
                        <i class="iconfont icon-arrow"></i>
                        <span>2</span>
                      </div>
                    </div>
                  </div>
                </div>
                <div class="rank-list in-rank">
                  <h2>出口贸易TOP5</h2>
                  <div class="rank-list-main">
                    <div class="rank-item" v-for="item in 5" :key="item">
                      <div class="name">
                        <span>{{item}}</span>
                        <b>柠檬酸</b>
                      </div>
                      <div class="value">
                        <i class="iconfont icon-arrow"></i>
                        <span>2</span>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <div class="s4-chart" id="s4MainChart"></div>
        </div>
      </div>
      <div class="section05 section-item">
        <div class="header">
          <div class="header-inner">
            <i class="title05"></i><span>口岸贸易</span>
          </div>
        </div>
        <div class="content">
          <div class="s5-top">
            <div class="top-item"><img src="../../assets/images/icon-car.png" alt=""></div>
            <div class="top-item total">
              <b>21,666</b>
              <span>货物总贸易值（万元）</span>
            </div>
            <div class="top-item percent">
              <b><i class="iconfont icon-arrow"></i>23%</b>
              <span>同比</span>
            </div>
            <div class="top-item detail">
              <span>出口：<b>11236万元</b></span>
              <span>进口：<b>11236万元</b></span>
            </div>
          </div>
          <div class="s5-chart" id="s5MainChart"></div>
        </div>
      </div>
      <div class="section06 section-item">
        <div class="header">
          <div class="header-inner">
            <i class="title06"></i><span>跨境电商</span>
          </div>
        </div>
        <div class="content">
          <div class="s6-top">
            <div class="card-list">
              <div class="card-item active">
                <h2><i class="icon04"></i><span>电商成交金额（万元）</span></h2>
                <b>11,647</b>
                <small><i class="iconfont icon-arrow"></i><strong>23%</strong></small>
              </div>
              <div class="card-item">
                <h2><i class="icon05"></i><span>备案商品品类数（个）</span></h2>
                <b>11,647</b>
                <small><i class="iconfont icon-arrow"></i><strong>23%</strong></small>
              </div>
              <div class="card-item">
                <h2><i class="icon06"></i><span>备案企业数（个）</span></h2>
                <b>11,647</b>
                <small><i class="iconfont icon-arrow-down"></i><strong>23%</strong></small>
              </div>
            </div>
          </div>
          <div class="s6-chart" id="s6MainChart"></div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import {
  createLineBarChart,
  createPieChart,
  createGradientColor,
  createEndPointPieChart,
  createMapChart
} from '../../utils/plugins/common'
export default {
  name: "zongheTaishi",
  components:{

  },
  data(){
    return {

    }
  },
  mounted(){
    createMapChart({
      id:"mapChart",
      config:{
        name: "china",
        itemColor: createGradientColor("toBottom",["#1cfbfe","#3348e7"])
      }
    })

    createLineBarChart({
      id:"s1MainChart",
      config:{
        title:"24小时口岸通关实时人流量（人次）",
        yAxisType:"simple", //simple,double
        xAxisData:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],
        data:[{
          type:"line",
          area:true,
          areaColor:createGradientColor("toBottom",["rgba(0,211,114,.5)","rgba(0,211,114,0)"]),
          name:"出口",
          data:[100,110,78,97,298,356,121,50,99,199,356,121]
        },{
          type:"line",
          area:true,
          areaColor:createGradientColor("toBottom",["rgba(70,174,247,.5)","rgba(70,174,247,0)"]),
          name:"进口",
          data:[200,210,178,197,398,456,221,150,199,299,456,221]
        }]
      },
      option:{
        color:["#00D372","#00BBFF"],
        grid:{
          top: "26%"
        }
      }
    })
    createLineBarChart({
      id:"s2MainChart",
      config:{
        yAxisType:"double", //simple,double
        xAxisData:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],
        data:[{
          type:"line",
          name:"出口",
          axisIndex:1,
          data:[100,110,78,97,298,356,121,50,99,199,356,121]
        },{
          type:"bar",
          name:"进口",
          data:[200,210,178,197,398,456,221,150,199,299,456,221]
        }]
      },
      option:{
        color:[
          "#00E9FF",
          createGradientColor("toTop",["#46AEF7","#00E9FF"])
        ],
        grid:{
          top: "15%"
        },
        legend:{
          show:false
        }
      }
    })
    createLineBarChart({
      id:"s3MainChart",
      config:{
        title:"边民互市报关票总量趋势（单）",
        yAxisType:"double", //simple,double
        xAxisData:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],
        data:[{
          type:"line",
          name:"出口",
          axisIndex:1,
          data:[100,110,78,97,298,356,121,50,99,199,356,121]
        },{
          type:"bar",
          name:"进口",
          data:[200,210,178,197,398,456,221,150,199,299,456,221]
        }]
      },
      option:{
        color:[
          "#00E9FF",
          createGradientColor("toBottom",["#46AEF7","#00E9FF"])
        ],
        grid:{
          top: "20%"
        },
        legend:{
          show:false
        }
      }
    })
    createLineBarChart({
      id:"s4MainChart",
      config:{
        title:"货物进出口总量趋势（吨）",
        yAxisType:"double", //simple,double
        xAxisData:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],
        data:[{
          type:"line",
          name:"出口",
          axisIndex:1,
          data:[100,110,78,97,298,356,121,50,99,199,356,121]
        },{
          type:"line",
          name:"进口",
          axisIndex:1,
          data:[100,110,78,97,298,356,121,50,99,199,356,121]
        },{
          type:"bar",
          name:"出口",
          data:[200,210,178,197,398,456,221,150,199,299,456,221]
        },{
          type:"bar",
          name:"进口",
          data:[200,210,178,197,398,456,221,150,199,299,456,221]
        }]
      },
      option:{
        color:[
          createGradientColor("toBottom",["rgba(0,211,114,1)","rgba(0,211,114,.3)"]),
          createGradientColor("toBottom",["rgba(70,174,247,1)","rgba(70,174,247,.3)"])
        ],
        grid:{
          top: "26%"
        },
        legend:{
          show:true
        }
      }
    })
    createLineBarChart({
      id:"s5MainChart",
      config:{
        title:"主要货物贸易值趋势（万元）",
        barWidth: 20,
        xAxisData:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],
        data:[{
          type:"bar",
          name:"矿石",
          borderRadius:null,
          stack:"stack",
          data:[200,210,178,197,398,456,221,150,199,299,456,221]
        },{
          type:"bar",
          name:"木材",
          stack:"stack",
          borderRadius:null,
          data:[200,210,178,197,398,456,221,150,199,299,456,221]
        },{
          type:"bar",
          name:"药材",
          stack:"stack",
          borderRadius:null,
          data:[200,210,178,197,398,456,221,150,199,299,456,221]
        },{
          type:"bar",
          name:"建筑材料",
          stack:"stack",
          borderRadius:null,
          data:[200,210,178,197,398,456,221,150,199,299,456,221]
        },{
          type:"bar",
          name:"海鲜产品",
          stack:"stack",
          borderRadius:null,
          data:[200,210,178,197,398,456,221,150,199,299,456,221]
        }]
      },
      option:{
        color:["#7C92FF","#00E4FF","#89C997","#F19EC2","#FACD89"],
        grid:{
          top: "20%"
        },
        legend:{
          show:true
        }
      }
    })
    createLineBarChart({
      id:"s6MainChart",
      config:{
        title:"电商销售金额排名（万元）",
        barWidth: 20,
        xAxisData:["矿石","药材","木材","建筑材料","海鲜产品","塑料","饲料","玩具"],
        data:[{
          type:"bar",
          name:"",
          borderRadius:null,
          stack:"stack",
          data:[200,210,178,197,398,456,221,150]
        }]
      },
      option:{
        color:[
          createGradientColor("toBottom",["#8661FF","#2871FA"])
        ],
        grid:{
          top: "20%"
        }
      }
    })
    createLineBarChart({
      id:"s7MainChart",
      config:{
        title:"次",
        yAxisType:"double",
        xAxisData:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],
        data:[{
          type:"line",
          name:"",
          area:true,
          areaColor: createGradientColor('toBottom',["rgba(0, 233, 255, .5)","rgba(0, 233, 255, 0)"]),
          axisIndex:1,
          data:[100,110,78,97,298,356,121,50,99,199,356,121]
        },{
          type:"bar",
          name:"",
          data:[200,210,178,197,398,456,221,150,199,299,456,221]
        }]
      },
      option:{
        color:["rgba(0, 233, 255, 1)",createGradientColor('toBottom',["#46AEF7","#46AEF7","#00E9FF"])],
        title:{
          top:"8%"
        },
        grid:{
          top: "26%",
          left: 10,
          right: 10
        }
      }
    })
    
    createPieChart({
      id:"s1PieChart",
      config:{
        data:[{
          name:"aaa",
          value:10
        },{
          name:"bbb",
          value:10
        },{
          name:"ccc",
          value:10
        },{
          name:"ddd",
          value:10
        },{
          name:"eee",
          value:10
        },{
          name:"fff",
          value:10
        }]
      },
      option:{
        color:["#FFFD43","#00BBFF","#0370FF","#0000FF","#00B4B6","#A8D6FF"],
      }
    })
    createPieChart({
      id:"s2PieChart",
      config:{
        data:[{
          name:"aaa",
          value:10
        },{
          name:"bbb",
          value:10
        }]
      },
      option:{
        color:["#A991FF","#FFF681"],
        series:{
          radius:["160%","200%"]
        }
      }
    })
    createPieChart({
      id:"s4PieChart",
      config:{
        data:[{
          name:"aaa",
          value:10
        },{
          name:"bbb",
          value:10
        }]
      },
      option:{
        color:["rgba(0, 187, 255, .5)","#00D372"],
        series:{
          radius:["160%","200%"]
        }
      }
    })
    createEndPointPieChart({
      id:"s7PieChart01",
      config:{
        value:0.75,
        colorType: "blue",

      }
    })
    createEndPointPieChart({
      id:"s7PieChart02",
      config:{
        value:0.45,
        colorType: "purple",

      }
    })
  },
  methods:{

  }
}
</script>

<style lang="scss" scoped>

.container{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: url(../../assets/images/map-bg.webp) no-repeat center center / 90% auto;
  .card-value-chart{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 187, 255, .5);
    border-radius: 8px;
    .card-detail{
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      align-items: center;
      h2{
        font-size: 12px;
      }
      b{
        font-size: 20px;
        margin: 5px 0;
      }
      span{
        i{
          font-size: 12px;
          color: #4BFFAC;
          &.icon-arrow-down{
            color: #FF0000;
          }
        }
        small{
          font-size: 12px;
        }
      }
    }
    .card-chart{
      width: 100px;
      height: 100px;
      position: relative;
      .card-chart-detail{
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        z-index: 1;
        h2{
          font-size: 12px;
        }
        b{
          font-size: 16px;
        }
        span{
          i{
            font-size: 12px;
          }
          small{
            font-size: 12px;
          }
        }
      }
      .car-chart-main{
        width: 100%;
        height: 100%;
      }
    }
  }
  .card-list{
    display: flex;
    justify-content: space-between;
    align-items: center;
    .card-item{
      width: 150px;
      height: 80px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      border: 1px solid rgba(0, 187, 255, .5);
      border-radius: 10px;
      h2{
        font-size: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
        i{
          width: 14px;
          height: 14px;
          background-image: url(../../assets/images/icon-title-hs01.png);
          background-repeat: no-repeat;
          background-position: center center;
          background-size: contain;
          margin-right: 6px;
          &.icon01{
            background-image: url(../../assets/images/icon-title-hs01.png);
          }
          &.icon02{
            background-image: url(../../assets/images/icon-title-hs02.png);
          }
          &.icon03{
            background-image: url(../../assets/images/icon-title-hs03.png);
          }
          &.icon04{
            background-image: url(../../assets/images/icon-title-hs04.png);
          }
          &.icon05{
            background-image: url(../../assets/images/icon-title-hs05.png);
          }
          &.icon06{
            background-image: url(../../assets/images/icon-title-hs06.png);
          }
        }
        span{
          color: #fff;
        }
      }
      b{
        font-size: 20px;
        color: #fff;
      }
      small{
        display: flex;
        justify-content: center;
        align-items: center;
        i{
          font-size: 12px;
          color: #4BFFAC;
          &.icon-arrow-down{
            color: #FF0000;
          }
        }
        strong{
          font-size: 12px;
          color: #fff;
        }
      }
      &.active{
        border-color: #00E4FF;
        h2{
          span{
            color: #00E4FF;
          }
        }
        b{
          color: #00E4FF;
        }
      }
    }
  }
  .tab-list{
    height: 30px;
  }
  .section-item{
    .header{
      height: 28px;
      line-height: 28px;
      background: linear-gradient(to right,rgba(3, 112, 255, .7),rgba(3, 112, 255, 0));
      .header-inner{
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding-left: 16px;
        background: url(../../assets/images/title-light.png) no-repeat left center / auto 100%;
        i{
          display: inline-block;
          width: 16px;
          height: 16px;
          background-image: url(../../assets/images/icon-title01.png);
          background-repeat: no-repeat;
          background-position: center center;
          background-size: contain;
          margin-right: 5px;
          &.title01{
            background-image: url(../../assets/images/icon-title01.png);
          }
          &.title02{
            background-image: url(../../assets/images/icon-title02.png);
          }
          &.title03{
            background-image: url(../../assets/images/icon-title03.png);
          }
          &.title04{
            background-image: url(../../assets/images/icon-title04.png);
          }
          &.title05{
            background-image: url(../../assets/images/icon-title05.png);
          }
          &.title06{
            background-image: url(../../assets/images/icon-title06.png);
          }
          &.title07{
            background-image: url(../../assets/images/icon-title07.png);
          }
        }
        span{
          font-size: 16px;
        }
      }
      
    }
    .content{
      height: calc(100% - 28px);
      box-sizing: border-box;
      padding: 16px;
    }
  }
  .left-section{
    width: 28%;
    height: 100%;
    .section-item{
      height: calc((100% - 40px) / 3);
    }
    .section01{
      margin-bottom: 20px;
      .content{
        .section01-info{
          display: flex;
          justify-content: space-between;
          align-items: center;
          .info-detail{
            display: flex;
            justify-content: space-between;
            align-items: center;
            border: 1px solid #00BBFF;
            border-radius: 10px;
            flex-grow: 1;
            margin-right: 16px;
            padding: 10px;
            .detail-item{
              position: relative;
              display: flex;
              flex-direction: column;
              justify-content: center;
              align-items: center;
              flex-grow: 1;
              height: 80px;
              
              img{
                display: block;
                height: 30px;
              }
              h2{
                color: #fff;
                font-size: 26px;
                margin-bottom: 6px;
              }
              span{
                font-size: 14px;
                color: #fff;
              }
              .ceil{
                margin: 5px 0;
                span{
                  font-size: 14px;
                  color: #fff;
                }
                b{
                  font-size: 14px;
                  color: #4BFFAC;
                  margin-right: 5px;
                }
                small{
                  font-size: 16px;
                  border: 1px solid #4BFFAC;
                  border-radius: 4px;
                  padding: 0 5px;
                  i{
                    font-size: 12px;
                    color: #4BFFAC;
                    &.icon-arrow-down{
                      color: #FF0000;
                    }
                  }
                  strong{
                    font-size: 14px;
                  }
                }
              }
            }
          }
          .info-chart{
            width: 120px;
            height: 120px;
            position: relative;
            .info-chart-detail{
              position: absolute;
              top: 0;
              left: 0;
              z-index: 1;
              width: 100%;
              height: 100%;
              display: flex;
              flex-direction: column;
              justify-content: center;
              align-items: center;
              color: #fff;
              h2{
                font-size: 12px;
              }
              b{
                font-size: 18px;
              }
              span{
                i{
                  font-size: 12px;
                }
                small{}
              }
            }

            .info-chart-main{
              width: 100%;
              height: 100%;
            }
          }
        }
        .section01-chart{
          height: calc(100% - 120px);
          margin-top: 20px;
        }
      }
    }
    .section02{
      margin-bottom: 20px;
      .content{
        padding-bottom: 0;
        .section02-top{
          display: flex;
          justify-content: space-between;
          align-items: center;
          height: 120px;
          .top-left{
            width: 50%;
            height: 100%;
          }
          .top-right{
            width: 50%;
            height: 100%;
            .s2-right-chart{
              height: 100%;
              ul{
                padding: 0 20px;
                height: 100%;
                display: flex;
                flex-direction: column;
                justify-content: space-around;
                align-items: center;
                li{
                  width: 100%;
                  display: flex;
                  justify-content: space-between;
                  align-items: center;
                  .name{
                    white-space: nowrap;
                  }
                  .process{
                    width: 70%;
                    height: 8px;
                    .process-inner{
                      width: 100%;
                      height: 100%;
                      background: rgba(255,255,255,.3);
                      border-radius: 10px;
                      .process-line{
                        width: 50%;
                        height: 100%;
                        background: linear-gradient(to right,rgba(255, 246, 129, 1),rgba(255, 246, 129, .6));
                        border-radius: 10px;
                      }
                    }
                  }
                  .value{
                    white-space: nowrap;
                  }
                }
              }
            }
          }
        }
        .section02-chart{
          height: calc(100% - 140px);
          margin-top: 20px;
          
          .chart{
            height: calc(100% - 30px);
          }
        }
      }
    }
    .section03{
      .s3-top{}
      .s3-chart{
        height: calc(100% - 100px);
        margin-top: 20px;
      }
    }
  }
  .middle-section{
    width: 44%;
    height: 100%;
    
    .middle-top{
      margin-bottom: 40px;
      height: calc((100% - 40px) / 3 *2);
    }
    .section07{
      height: calc((100% - 40px) / 3);
      .content{
        .s7-content{
          width: 100%;
          height: 100%;
          display: flex;
          justify-content: space-between;
          align-items: center;
          .s7-left{
            width: 240px;
            height: 240px;
            margin-right: 20px;
            .s7-pie-chart{
              width: 100%;
              height: 100%;
              background: url(../../assets/images/pie-bg.png) no-repeat center center / 100% 100%;
              position: relative;
              .chart-info{
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                z-index: 2;
                span{
                  font-size: 12px;
                  &.out-data{
                    // color: #7917FF;
                  }
                  &.in-data{
                    // color: #0006FF;
                  }
                }
                b{
                  font-size: 20px;
                  color: #00FFFF;
                  font-weight: bolder;
                }
              }
              .s7-pie-chart-circle{
                position: absolute;
                top: 50%;
                left: 50%;
                width: 80%;
                height: 80%;
                border: 4px solid #29B6FB;
                border-radius: 50%;
                transform: translate(-50%,-50%);
              }
              .s7-pie-chart-main01{
                position: absolute;
                top: 50%;
                left: 50%;
                width: 76%;
                height: 76%;
                transform: translate(-50%,-50%);
              }
              .s7-pie-chart-main02{
                position: absolute;
                top: 50%;
                left: 50%;
                width: 60%;
                height: 60%;
                transform: translate(-50%,-50%);
                opacity: .5;
                z-index: 1;
              }
            }
          }
          .s7-right{
            height: 100%;
            flex-grow: 1;
            .s7-chart{
              height: calc(100% - 30px);
            }
          }
        }
        
      }
      
    }
  }
  .right-section{
    width: 28%;
    height: 100%;
    .section-item{
      height: calc((100% - 40px) / 3);
    }
    .section04{
      margin-bottom: 20px;
      .content{
        padding-bottom: 0;
        .s4-top{
          height: 130px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          .top-left{
            width: 48%;
            height: 100%;
          }
          .top-right{
            width: 48%;
            height: 100%;
            
            .s4-rank{
              height: 100%;
              border-radius: 10px;
              border: 1px solid rgba(0, 187, 255, .5);
              display: flex;
              justify-content: space-around;
              align-items: center;
              .rank-list{
                height: 100%;
                box-sizing: border-box;
                padding: 5px 0;
                h2{
                  font-size: 14px;
                  height: 16px;
                  font-weight: bold;
                  color: #00BBFF;
                }
                .rank-list-main{
                  height: calc(100% - 20px);
                  margin-top: 4px;
                  .rank-item{
                    width: 100%;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    .name{
                      span{
                        font-size: 12px;
                      }
                      b{
                        font-size: 12px;
                        margin-left: 5px;
                      }
                    }
                    .value{
                      i{
                        font-size: 12px;
                        transform: scale(.6);
                        color: #4BFFAC;
                        &.icon-arrow-down{
                          color: #FF0000;
                        }
                      }
                      span{
                        font-size: 12px;
                      }
                    }
                  }
                }
              }
            }
          }
        }
        .s4-chart{
          height: calc(100% - 140px);
          margin-top: 10px;
        }
      }
    }
    .section05{
      margin-bottom: 20px;
      .content{
        padding-bottom: 0;
        .s5-top{
          display: flex;
          justify-content: space-around;
          align-items: center;
          height: 60px;
          .top-item{
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: center;
            position: relative;
            flex-grow: 1;
            &::after{
              content:"";
              width: 1px;
              height: 40px;
              background: rgba(153, 228, 255, .5);
              position: absolute;
              top: 50%;
              left: 0;
              transform: translate(0,-50%);
            }
            &:first-child{
              &::after{
                display: none;
              }
            }
            img{
              display: block;
              height: 44px;
            }
            &.total{
              b{
                color: #99E4FF;
                font-size: 20px;
              }
              span{
                font-size: 12px;
              }
            }
            &.percent{
              b{
                font-size: 18px;
                i{
                  color: #4BFFAC;
                  &.icon-arrow-down{
                    color: #FF0000;
                  }
                }
              }
              span{
                font-size: 12px;
              }
            }
            &.detail{
              font-size: 14px;
              b{
                color: #4BFFAC;
                font-weight: bold;
              }
            }
          }
        }
        .s5-chart{
          height: calc(100% - 70px);
          margin-top: 10px;
        }
      }
    }
    .section06{
      .s6-top{}
      .s6-chart{
        height: calc(100% - 100px);
        margin-top: 20px;
      }
    }
  }
}
</style>